package cn.bugstack.trigger.api.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 抽奖策略规则，权重配置，查询N次抽奖可解锁奖品范围，应答对象
 * @author 19872
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RaffleStrategyRuleWeightResponseDTO implements Serializable {
    /** 权重规则配置的抽奖次数 */
    private Integer ruleWeightCount;
    /** 用户在一个活动下完成的总抽奖次数 */
    private Integer userActivityAccountTotalUseCount;
    /** 当前权重可抽奖范围 */
    private List<StrategyAward> strategyAwards;

    @Data
    public static class StrategyAward {
        // 奖品ID
        private Integer awardId;
        // 奖品标题
        private String awardTitle;
    }


}
